------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
      name:  <unnamed>
       log:  R:\Current Research\Markets-Pridemore\Work\MAR05-QuantModels.log
  log type:  text
 opened on:  29 Jun 2024, 13:52:38

. 
. //  program:    Stata 
. //  task:       Quantile Regression for Panel Data
. //  project:    Markets  
. 
. version
version 17.0

. clear all

. macro drop _all

. set linesize 80

. set more off

. local tag " 06-25-24| Cleaned 06-25-24"

. local file "MAR05-QuantModels"

. local note "|`tag' | `file'"

. local opt "noparen sideway excel noaster  bdec(2)  sdec(2)  pdec(3)   adec(2) 
> e(r2) stats(coef se pval)"

. local dv "lrhom"

. local iv "fraser"

. local iv2 "infantmort" 

. local cont "edu unemp  popdense perurban  sexratio"

. 
. //      #0
. //      Loading data 
. use MAR04-ModModels.dta, clear 

. 
. //      #1
. //      Fraser quantile regression for panel models 
. foreach quant in  25 50 75  {
  2.         qregpd `dv' `iv' `iv2' `cont' , quantile(0.`quant') id(CID) fix(yea
> r)
  3.         estimates store q1_`quant'
  4.         }
Nelder-Mead optimization
initial:       f(p) = -138.41296
rescale:       f(p) = -10.073921
Iteration 0:   f(p) = -10.073921  
Iteration 1:   f(p) = -10.073921  
Iteration 2:   f(p) = -10.073921  
Iteration 3:   f(p) = -10.073921  
Iteration 4:   f(p) = -10.073921  
Iteration 5:   f(p) = -10.073921  
Iteration 6:   f(p) = -10.073921  
Iteration 7:   f(p) = -10.073921  
Iteration 8:   f(p) = -6.1250397  
Iteration 9:   f(p) = -6.1250397  
Iteration 10:  f(p) = -4.3761491  
Iteration 11:  f(p) = -4.3761491  
Iteration 12:  f(p) = -4.3761491  
Iteration 13:  f(p) = -4.3761491  
Iteration 14:  f(p) = -4.3761491  
Iteration 15:  f(p) = -4.3761491  
Iteration 16:  f(p) = -4.3761491  
Iteration 17:  f(p) = -4.3761491  
Iteration 18:  f(p) = -4.3761491  
Iteration 19:  f(p) = -4.3761491  
Iteration 20:  f(p) = -4.3761491  
Iteration 21:  f(p) = -4.3761491  
Iteration 22:  f(p) = -4.3761491  
Iteration 23:  f(p) = -4.3761491  
Iteration 24:  f(p) = -4.3761491  
Iteration 25:  f(p) = -.75948561  
Iteration 26:  f(p) = -.75948561  
Iteration 27:  f(p) = -.75948561  
Iteration 28:  f(p) = -.75948561  
Iteration 29:  f(p) = -.75948561  
Iteration 30:  f(p) = -.75948561  
Iteration 31:  f(p) = -.75948561  
Iteration 32:  f(p) = -.75948561  
Iteration 33:  f(p) = -.75948561  
Iteration 34:  f(p) = -.75948561  
Iteration 35:  f(p) = -.75948561  
Iteration 36:  f(p) = -.75948561  
Iteration 37:  f(p) = -.75948561  
Iteration 38:  f(p) = -.62234541  
Iteration 39:  f(p) = -.62234541  
Iteration 40:  f(p) = -.62234541  
Iteration 41:  f(p) = -.62234541  
Iteration 42:  f(p) = -.62234541  
Iteration 43:  f(p) = -.62234541  
Iteration 44:  f(p) = -.62234541  


Quantile Regression for Panel Data (QRPD)
     Number of obs:              1524
     Number of groups:             88
     Min obs per group:             6
     Max obs per group:            20
------------------------------------------------------------------------------
       lrhom | Coefficient  Std. err.      z    P>|z|     [95% conf. interval]
-------------+----------------------------------------------------------------
      fraser |   3.277633   73.07648     0.04   0.964    -139.9496    146.5049
  infantmort |  -2.855442   51.47803    -0.06   0.956    -103.7505    98.03964
         edu |   1.058637          .        .       .            .           .
       unemp |   .1211026   11.91394     0.01   0.992    -23.22979      23.472
    popdense |   .2527476   3.941221     0.06   0.949    -7.471903    7.977398
    perurban |   5.173912   52.05321     0.10   0.921     -96.8485    107.1963
    sexratio |   2.912288   63.56424     0.05   0.963    -121.6713    127.4959
------------------------------------------------------------------------------
No excluded instruments - standard QRPD estimation.
Nelder-Mead optimization
initial:       f(p) = -130.42327
rescale:       f(p) = -22.452915
Iteration 0:   f(p) = -22.452915  
Iteration 1:   f(p) = -22.452915  
Iteration 2:   f(p) = -22.452915  
Iteration 3:   f(p) = -4.4817371  
Iteration 4:   f(p) = -4.4817371  
Iteration 5:   f(p) = -4.4817371  
Iteration 6:   f(p) = -4.4817371  
Iteration 7:   f(p) = -4.4817371  
Iteration 8:   f(p) = -4.4817371  
Iteration 9:   f(p) = -4.4817371  
Iteration 10:  f(p) = -4.4817371  
Iteration 11:  f(p) = -4.2947892  
Iteration 12:  f(p) = -4.2947892  
Iteration 13:  f(p) = -4.2947892  
Iteration 14:  f(p) = -4.2947892  
Iteration 15:  f(p) = -4.2947892  
Iteration 16:  f(p) = -4.2947892  
Iteration 17:  f(p) = -2.0668291  
Iteration 18:  f(p) = -2.0668291  
Iteration 19:  f(p) = -2.0668291  
Iteration 20:  f(p) = -2.0668291  
Iteration 21:  f(p) = -2.0668291  
Iteration 22:  f(p) = -2.0668291  
Iteration 23:  f(p) = -2.0668291  


Quantile Regression for Panel Data (QRPD)
     Number of obs:              1524
     Number of groups:             88
     Min obs per group:             6
     Max obs per group:            20
------------------------------------------------------------------------------
       lrhom | Coefficient  Std. err.      z    P>|z|     [95% conf. interval]
-------------+----------------------------------------------------------------
      fraser |  -.0594028   10.72473    -0.01   0.996    -21.07949    20.96068
  infantmort |   2.225422   7.516364     0.30   0.767    -12.50638    16.95723
         edu |  -.3737751   143.5173    -0.00   0.998    -281.6625     280.915
       unemp |   .0034837   .0721947     0.05   0.962    -.1380153    .1449828
    popdense |  -.0150455   .1941619    -0.08   0.938    -.3955959    .3655048
    perurban |  -.0146138   .4912796    -0.03   0.976    -.9775043    .9482766
    sexratio |   -.013956   .0330065    -0.42   0.672    -.0786475    .0507355
------------------------------------------------------------------------------
No excluded instruments - standard QRPD estimation.
Nelder-Mead optimization
initial:       f(p) = -75.326418
rescale:       f(p) = -75.326418
Iteration 0:   f(p) = -75.326418  
Iteration 1:   f(p) = -22.931158  
Iteration 2:   f(p) = -4.2066689  
Iteration 3:   f(p) = -4.2066689  
Iteration 4:   f(p) = -4.2066689  
Iteration 5:   f(p) = -4.2066689  
Iteration 6:   f(p) = -4.2066689  
Iteration 7:   f(p) = -4.2066689  
Iteration 8:   f(p) = -3.8824402  
Iteration 9:   f(p) = -1.2038772  
Iteration 10:  f(p) = -1.2038772  
Iteration 11:  f(p) = -1.2038772  
Iteration 12:  f(p) = -1.2038772  
Iteration 13:  f(p) = -1.2038772  
Iteration 14:  f(p) = -1.2038772  
Iteration 15:  f(p) = -1.2038772  
Iteration 16:  f(p) = -1.2038772  
Iteration 17:  f(p) = -1.2038772  


Quantile Regression for Panel Data (QRPD)
     Number of obs:              1524
     Number of groups:             88
     Min obs per group:             6
     Max obs per group:            20
------------------------------------------------------------------------------
       lrhom | Coefficient  Std. err.      z    P>|z|     [95% conf. interval]
-------------+----------------------------------------------------------------
      fraser |   .6361504   5.972883     0.11   0.915    -11.07049    12.34279
  infantmort |   1.007934   2.914465     0.35   0.729    -4.704313    6.720182
         edu |   -2.24981          .        .       .            .           .
       unemp |  -1.109969   3.117038    -0.36   0.722     -7.21925    4.999313
    popdense |    4.28011    3.89202     1.10   0.271     -3.34811    11.90833
    perurban |  -.6142693   .5165726    -1.19   0.234    -1.626733    .3981943
    sexratio |   3.640879          .        .       .            .           .
------------------------------------------------------------------------------
No excluded instruments - standard QRPD estimation.

. estimates table q1_25 q1_50 q1_75, b(%7.2f) se(%7.2f) p(%4.3f)

--------------------------------------------
    Variable |  q1_25     q1_50     q1_75   
-------------+------------------------------
      fraser |    3.28     -0.06      0.64  
             |   73.08     10.72      5.97  
             |   0.964     0.996     0.915  
  infantmort |   -2.86      2.23      1.01  
             |   51.48      7.52      2.91  
             |   0.956     0.767     0.729  
         edu |    1.06     -0.37     -2.25  
             |    0.00    143.52      0.00  
             |       .     0.998         .  
       unemp |    0.12      0.00     -1.11  
             |   11.91      0.07      3.12  
             |   0.992     0.962     0.722  
    popdense |    0.25     -0.02      4.28  
             |    3.94      0.19      3.89  
             |   0.949     0.938     0.271  
    perurban |    5.17     -0.01     -0.61  
             |   52.05      0.49      0.52  
             |   0.921     0.976     0.234  
    sexratio |    2.91     -0.01      3.64  
             |   63.56      0.03      0.00  
             |   0.963     0.672         .  
--------------------------------------------
                              Legend: b/se/p

. 
. //      #2
. //      Heritage quantile regression for panel models 
. foreach quant in  25 50 75  {
  2.         qregpd `dv' heritage `iv2' `cont' , quantile(0.`quant') id(CID) fix
> (year)
  3.         estimates store q2_`quant'
  4.         }
Nelder-Mead optimization
initial:       f(p) = -115.29457
rescale:       f(p) = -7.9665051
Iteration 0:   f(p) = -7.9665051  
Iteration 1:   f(p) = -7.9665051  
Iteration 2:   f(p) = -7.9665051  
Iteration 3:   f(p) = -7.9665051  
Iteration 4:   f(p) = -7.9665051  
Iteration 5:   f(p) = -7.9665051  
Iteration 6:   f(p) = -7.9665051  
Iteration 7:   f(p) = -7.9665051  
Iteration 8:   f(p) = -7.9665051  
Iteration 9:   f(p) = -7.9665051  
Iteration 10:  f(p) = -7.9665051  
Iteration 11:  f(p) = -7.9665051  
Iteration 12:  f(p) = -7.9665051  
Iteration 13:  f(p) = -7.9665051  
Iteration 14:  f(p) = -3.4564987  
Iteration 15:  f(p) = -.39833177  
Iteration 16:  f(p) = -.39833177  
Iteration 17:  f(p) = -.39833177  
Iteration 18:  f(p) = -.39833177  
Iteration 19:  f(p) = -.39833177  
Iteration 20:  f(p) = -.39833177  
Iteration 21:  f(p) = -.39833177  
Iteration 22:  f(p) = -.39833177  
Iteration 23:  f(p) = -.39833177  
Iteration 24:  f(p) = -.39833177  
Iteration 25:  f(p) = -.39833177  
Iteration 26:  f(p) = -.39833177  
Iteration 27:  f(p) = -.39833177  
Iteration 28:  f(p) = -.39833177  
Iteration 29:  f(p) = -.39833177  
Iteration 30:  f(p) = -.39833177  
Iteration 31:  f(p) = -.39833177  
Iteration 32:  f(p) = -.39833177  
Iteration 33:  f(p) = -.39833177  
Iteration 34:  f(p) = -.39833177  
Iteration 35:  f(p) = -.39833177  
Iteration 36:  f(p) = -.38841745  
Iteration 37:  f(p) = -.38841745  
Iteration 38:  f(p) = -.38841745  
Iteration 39:  f(p) = -.38841745  
Iteration 40:  f(p) = -.38841745  
Iteration 41:  f(p) = -.38841745  
Iteration 42:  f(p) = -.38841745  
Iteration 43:  f(p) = -.38841745  
Iteration 44:  f(p) = -.38841745  


Quantile Regression for Panel Data (QRPD)
     Number of obs:              1487
     Number of groups:             87
     Min obs per group:             3
     Max obs per group:            20
------------------------------------------------------------------------------
       lrhom | Coefficient  Std. err.      z    P>|z|     [95% conf. interval]
-------------+----------------------------------------------------------------
    heritage |   .1910051   .0422123     4.52   0.000     .1082706    .2737397
  infantmort |  -.2692332   .1262153    -2.13   0.033    -.5166107   -.0218558
         edu |  -.2904933          .        .       .            .           .
       unemp |  -.0792659   .0935021    -0.85   0.397    -.2625266    .1039948
    popdense |   .0989994   .0256862     3.85   0.000     .0486554    .1493434
    perurban |   .3533259   .2076042     1.70   0.089    -.0535708    .7602226
    sexratio |   .1953042    .085081     2.30   0.022     .0285484      .36206
------------------------------------------------------------------------------
No excluded instruments - standard QRPD estimation.
Nelder-Mead optimization
initial:       f(p) = -117.17937
rescale:       f(p) =  -13.76551
Iteration 0:   f(p) =  -13.76551  
Iteration 1:   f(p) =  -13.76551  
Iteration 2:   f(p) =  -13.76551  
Iteration 3:   f(p) =  -13.76551  
Iteration 4:   f(p) =  -13.76551  
Iteration 5:   f(p) = -11.584487  
Iteration 6:   f(p) = -10.689878  
Iteration 7:   f(p) = -9.8525273  
Iteration 8:   f(p) = -9.8525273  
Iteration 9:   f(p) = -9.8525273  
Iteration 10:  f(p) = -8.5213594  
Iteration 11:  f(p) = -8.5213594  
Iteration 12:  f(p) = -8.5213594  
Iteration 13:  f(p) = -5.3449154  
Iteration 14:  f(p) = -5.3449154  
Iteration 15:  f(p) = -5.3449154  
Iteration 16:  f(p) = -5.2807723  
Iteration 17:  f(p) = -5.2807723  
Iteration 18:  f(p) = -5.2807723  
Iteration 19:  f(p) = -5.2807723  
Iteration 20:  f(p) = -4.9732771  
Iteration 21:  f(p) = -4.9732771  
Iteration 22:  f(p) = -4.9732771  
Iteration 23:  f(p) = -4.9732771  
Iteration 24:  f(p) = -4.9732771  
Iteration 25:  f(p) = -4.9732771  
Iteration 26:  f(p) = -4.9732771  
Iteration 27:  f(p) = -4.9732771  


Quantile Regression for Panel Data (QRPD)
     Number of obs:              1487
     Number of groups:             87
     Min obs per group:             3
     Max obs per group:            20
------------------------------------------------------------------------------
       lrhom | Coefficient  Std. err.      z    P>|z|     [95% conf. interval]
-------------+----------------------------------------------------------------
    heritage |  -.0419316   .4749737    -0.09   0.930    -.9728629    .8889997
  infantmort |   1.619187    13.8149     0.12   0.907    -25.45751    28.69589
         edu |  -.4150927   720.1984    -0.00   1.000    -1411.978    1411.148
       unemp |   .0342605   2.081231     0.02   0.987    -4.044878    4.113399
    popdense |  -.0134019   .1980985    -0.07   0.946    -.4016678    .3748639
    perurban |  -.0404376   1.002156    -0.04   0.968    -2.004627    1.923752
    sexratio |    .029507   .7194335     0.04   0.967    -1.380557    1.439571
------------------------------------------------------------------------------
No excluded instruments - standard QRPD estimation.
Nelder-Mead optimization
initial:       f(p) = -49.489783
rescale:       f(p) = -49.489783
Iteration 0:   f(p) = -49.489783  
Iteration 1:   f(p) = -14.458143  
Iteration 2:   f(p) = -7.1468696  
Iteration 3:   f(p) = -7.1468696  
Iteration 4:   f(p) = -2.7358738  
Iteration 5:   f(p) = -2.7358738  
Iteration 6:   f(p) = -1.5915794  
Iteration 7:   f(p) = -1.5915794  
Iteration 8:   f(p) = -1.5915794  
Iteration 9:   f(p) = -1.5915794  
Iteration 10:  f(p) = -1.5915794  
Iteration 11:  f(p) = -1.5915794  
Iteration 12:  f(p) = -1.5915794  
Iteration 13:  f(p) = -1.5915794  
Iteration 14:  f(p) = -1.5915794  
Iteration 15:  f(p) = -1.5915794  
Iteration 16:  f(p) = -1.5915794  
Iteration 17:  f(p) = -1.5915794  
Iteration 18:  f(p) = -1.2331163  
Iteration 19:  f(p) = -1.2331163  
Iteration 20:  f(p) = -1.0269726  
Iteration 21:  f(p) = -.78135294  
Iteration 22:  f(p) = -.78135294  
Iteration 23:  f(p) = -.78135294  
Iteration 24:  f(p) = -.78135294  
Iteration 25:  f(p) = -.78135294  
Iteration 26:  f(p) = -.67932509  
Iteration 27:  f(p) = -.67932509  
Iteration 28:  f(p) = -.67932509  
Iteration 29:  f(p) = -.67932509  
Iteration 30:  f(p) = -.67932509  
Iteration 31:  f(p) = -.67932509  
Iteration 32:  f(p) = -.67932509  


Quantile Regression for Panel Data (QRPD)
     Number of obs:              1487
     Number of groups:             87
     Min obs per group:             3
     Max obs per group:            20
------------------------------------------------------------------------------
       lrhom | Coefficient  Std. err.      z    P>|z|     [95% conf. interval]
-------------+----------------------------------------------------------------
    heritage |    1.47623   1.734386     0.85   0.395    -1.923103    4.875563
  infantmort |  -.1101428   1.520119    -0.07   0.942    -3.089521    2.869236
         edu |  -3.376876   424.0147    -0.01   0.994    -834.4305    827.6767
       unemp |   1.706054   4.105577     0.42   0.678    -6.340729    9.752837
    popdense |   4.733648    1.74223     2.72   0.007     1.318939    8.148356
    perurban |   .1427747   7.173599     0.02   0.984    -13.91722    14.20277
    sexratio |   2.520072   1.692491     1.49   0.136      -.79715    5.837294
------------------------------------------------------------------------------
No excluded instruments - standard QRPD estimation.

. estimates table q2_25 q2_50 q2_75, b(%7.2f) se(%7.2f) p(%4.3f)

--------------------------------------------
    Variable |  q2_25     q2_50     q2_75   
-------------+------------------------------
    heritage |    0.19     -0.04      1.48  
             |    0.04      0.47      1.73  
             |   0.000     0.930     0.395  
  infantmort |   -0.27      1.62     -0.11  
             |    0.13     13.81      1.52  
             |   0.033     0.907     0.942  
         edu |   -0.29     -0.42     -3.38  
             |    0.00    720.20    424.01  
             |       .     1.000     0.994  
       unemp |   -0.08      0.03      1.71  
             |    0.09      2.08      4.11  
             |   0.397     0.987     0.678  
    popdense |    0.10     -0.01      4.73  
             |    0.03      0.20      1.74  
             |   0.000     0.946     0.007  
    perurban |    0.35     -0.04      0.14  
             |    0.21      1.00      7.17  
             |   0.089     0.968     0.984  
    sexratio |    0.20      0.03      2.52  
             |    0.09      0.72      1.69  
             |   0.022     0.967     0.136  
--------------------------------------------
                              Legend: b/se/p

. 
. 
. //      #3
. //      ROL quantile regression for panel models 
. foreach quant in  25 50 75  {
  2.         qregpd `dv' rol `iv2' `cont' , quantile(0.`quant') id(CID) fix(year
> )
  3.         estimates store q3_`quant'
  4.         }
Nelder-Mead optimization
initial:       f(p) = -112.80416
rescale:       f(p) =  -11.54171
Iteration 0:   f(p) =  -11.54171  
Iteration 1:   f(p) = -8.4748904  
Iteration 2:   f(p) = -8.4748904  
Iteration 3:   f(p) = -7.7970302  
Iteration 4:   f(p) = -7.7970302  
Iteration 5:   f(p) = -6.9335764  
Iteration 6:   f(p) = -6.9335764  
Iteration 7:   f(p) = -6.9335764  
Iteration 8:   f(p) = -6.9335764  
Iteration 9:   f(p) = -6.9335764  
Iteration 10:  f(p) = -6.3638902  
Iteration 11:  f(p) = -6.3638902  
Iteration 12:  f(p) = -6.3638902  
Iteration 13:  f(p) = -6.3638902  
Iteration 14:  f(p) = -6.3638902  
Iteration 15:  f(p) = -6.3638902  
Iteration 16:  f(p) = -6.3638902  
Iteration 17:  f(p) = -6.3638902  
Iteration 18:  f(p) = -6.3638902  
Iteration 19:  f(p) = -6.3638902  
Iteration 20:  f(p) = -6.3638902  
Iteration 21:  f(p) = -6.3638902  
Iteration 22:  f(p) = -6.3638902  
Iteration 23:  f(p) = -6.3638902  
Iteration 24:  f(p) = -6.3638902  


Quantile Regression for Panel Data (QRPD)
     Number of obs:              1379
     Number of groups:             88
     Min obs per group:             5
     Max obs per group:            18
------------------------------------------------------------------------------
       lrhom | Coefficient  Std. err.      z    P>|z|     [95% conf. interval]
-------------+----------------------------------------------------------------
         rol |    5.17185          .        .       .            .           .
  infantmort |  -9.362428   130.1291    -0.07   0.943    -264.4109     245.686
         edu |  -2.064964          .        .       .            .           .
       unemp |  -4.070286     316.24    -0.01   0.990    -623.8893    615.7488
    popdense |   7.727465   82.17405     0.09   0.925    -153.3307    168.7856
    perurban |   5.229867   42.40575     0.12   0.902    -77.88388    88.34361
    sexratio |   2.015625   38.65929     0.05   0.958     -73.7552    77.78645
------------------------------------------------------------------------------
No excluded instruments - standard QRPD estimation.
Nelder-Mead optimization
initial:       f(p) = -137.06081
rescale:       f(p) = -27.984259
Iteration 0:   f(p) = -27.984259  
Iteration 1:   f(p) = -20.349697  
Iteration 2:   f(p) = -13.572783  
Iteration 3:   f(p) = -13.572783  
Iteration 4:   f(p) = -12.933163  
Iteration 5:   f(p) = -12.933163  
Iteration 6:   f(p) = -12.933163  
Iteration 7:   f(p) = -12.933163  
Iteration 8:   f(p) = -12.933163  
Iteration 9:   f(p) = -12.933163  
Iteration 10:  f(p) = -12.933163  
Iteration 11:  f(p) = -12.933163  
Iteration 12:  f(p) = -12.933163  
Iteration 13:  f(p) = -11.137968  
Iteration 14:  f(p) = -11.137968  
Iteration 15:  f(p) = -11.137968  
Iteration 16:  f(p) = -11.137968  
Iteration 17:  f(p) = -11.137968  
Iteration 18:  f(p) = -11.137968  
Iteration 19:  f(p) = -11.137968  
Iteration 20:  f(p) = -11.137968  
Iteration 21:  f(p) = -11.137968  
Iteration 22:  f(p) = -11.137968  


Quantile Regression for Panel Data (QRPD)
     Number of obs:              1379
     Number of groups:             88
     Min obs per group:             5
     Max obs per group:            18
------------------------------------------------------------------------------
       lrhom | Coefficient  Std. err.      z    P>|z|     [95% conf. interval]
-------------+----------------------------------------------------------------
         rol |  -.3198779   71.61415    -0.00   0.996     -140.681    140.0413
  infantmort |   .1044145   3.785858     0.03   0.978     -7.31573    7.524559
         edu |  -.5464681   420.9948    -0.00   0.999    -825.6811    824.5881
       unemp |  -.0972142   2.433486    -0.04   0.968     -4.86676    4.672331
    popdense |   4.892353   9.739058     0.50   0.615    -14.19585    23.98056
    perurban |   2.561311   7.083626     0.36   0.718    -11.32234    16.44496
    sexratio |    2.56021   5.969723     0.43   0.668    -9.140233    14.26065
------------------------------------------------------------------------------
No excluded instruments - standard QRPD estimation.
Nelder-Mead optimization
initial:       f(p) = -62.830333
rescale:       f(p) = -62.830333
Iteration 0:   f(p) = -62.830333  
Iteration 1:   f(p) = -2.7308052  
Iteration 2:   f(p) = -2.7308052  
Iteration 3:   f(p) = -2.7308052  
Iteration 4:   f(p) = -2.7308052  
Iteration 5:   f(p) = -1.1792802  
Iteration 6:   f(p) = -1.1792802  
Iteration 7:   f(p) = -1.1792802  
Iteration 8:   f(p) = -1.1792802  
Iteration 9:   f(p) = -1.1792802  
Iteration 10:  f(p) = -1.1792802  
Iteration 11:  f(p) = -1.1792802  
Iteration 12:  f(p) = -1.1792802  
Iteration 13:  f(p) = -.68709567  
Iteration 14:  f(p) = -.68709567  
Iteration 15:  f(p) = -.68709567  
Iteration 16:  f(p) = -.68709567  
Iteration 17:  f(p) = -.68709567  
Iteration 18:  f(p) = -.68709567  
Iteration 19:  f(p) = -.68709567  
Iteration 20:  f(p) = -.68709567  
Iteration 21:  f(p) = -.68709567  
Iteration 22:  f(p) = -.68709567  
Iteration 23:  f(p) = -.68709567  
Iteration 24:  f(p) = -.68709567  


Quantile Regression for Panel Data (QRPD)
     Number of obs:              1379
     Number of groups:             88
     Min obs per group:             5
     Max obs per group:            18
------------------------------------------------------------------------------
       lrhom | Coefficient  Std. err.      z    P>|z|     [95% conf. interval]
-------------+----------------------------------------------------------------
         rol |   -.397272          .        .       .            .           .
  infantmort |   .5921568   2.977432     0.20   0.842    -5.243503    6.427816
         edu |  -3.831592          .        .       .            .           .
       unemp |   .2641755    1.12465     0.23   0.814    -1.940097    2.468448
    popdense |   4.388652   6.441701     0.68   0.496     -8.23685    17.01416
    perurban |   .0653829   1.247208     0.05   0.958    -2.379101    2.509866
    sexratio |   4.671772          .        .       .            .           .
------------------------------------------------------------------------------
No excluded instruments - standard QRPD estimation.

. estimates table q3_25 q3_50 q3_75, b(%7.2f) se(%7.2f) p(%4.3f)

--------------------------------------------
    Variable |  q3_25     q3_50     q3_75   
-------------+------------------------------
         rol |    5.17     -0.32     -0.40  
             |    0.00     71.61      0.00  
             |       .     0.996         .  
  infantmort |   -9.36      0.10      0.59  
             |  130.13      3.79      2.98  
             |   0.943     0.978     0.842  
         edu |   -2.06     -0.55     -3.83  
             |    0.00    420.99      0.00  
             |       .     0.999         .  
       unemp |   -4.07     -0.10      0.26  
             |  316.24      2.43      1.12  
             |   0.990     0.968     0.814  
    popdense |    7.73      4.89      4.39  
             |   82.17      9.74      6.44  
             |   0.925     0.615     0.496  
    perurban |    5.23      2.56      0.07  
             |   42.41      7.08      1.25  
             |   0.902     0.718     0.958  
    sexratio |    2.02      2.56      4.67  
             |   38.66      5.97      0.00  
             |   0.958     0.668         .  
--------------------------------------------
                              Legend: b/se/p

. 
. //      #4
. //      Exporting results
. esttab q1_25 q1_50 q1_75   q2_25 q2_50 q2_75   q3_25 q3_50 q3_75 using "`file'
> ", replace cells(b se p) 
(output written to MAR05-QuantModels.txt)

. 
. //      #5
. //      save and close 
. save `file'.dta, replace 
file MAR05-QuantModels.dta saved

. log close 
      name:  <unnamed>
       log:  R:\Current Research\Markets-Pridemore\Work\MAR05-QuantModels.log
  log type:  text
 closed on:  29 Jun 2024, 13:52:46
--------------------------------------------------------------------------------
